def decide(x):
    if x < 0:
        x = 0
        print('Negative changed to zero')
    elif x == 0:
        print('Zero')
    elif x == 1:
        print('Single')
    else:
        print('More')


def loop(values):
    for w in values:
        print(w, len(w))


def loop_range(n):
    for i in range(n):
        print(i)


def list_range(n):
    print(list(range(n)))


def loop_break(i):
    for n in range(2, i):
        for x in range(2, n):
            if n % x == 0:
                print(n, 'equals', x, '*', n // x)
                break
            else:
                print(n, 'is a prime number')


def loop_continue(i):
    for n in range(2, i):
        if n % 2 == 0:
            continue
        print('Found an odd number', n)


def pass_statement():
    pass
    print('pass')


def match_statement(status):
    match status:
        case 200:
            return 'success'
        case 300:
            return 'forbidden'
        case 400:
            return 'client error'
        case 500:
            return 'server error'

